package com.sky.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
public class AliOssProperties {

    private String endpoint=System.getenv("OSS_ENDPOINT");
    private String accessKeyId=System.getenv("OSS_ACCESS_KEY_ID");
    private String accessKeySecret=System.getenv("OSS_ACCESS_KEY_SECRET");
    private String bucketName=System.getenv("OSS_BUCKET_NAME");
}
